<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link href="__CSS__/course.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
</block>


<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/wsidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--内容栏start-->
  <div class="col-md-10 content"> 
    <ul class="nav nav-tabs">
     <li><a href="{:U('Wckczuoye/index')}"><i class="icon icon-home"></i>首页</a></li>
     <li><a href="{:U('Wckczuoye/add')}">资料上传</a></li>
     <li><a href="{:U('Wckczuoye/search')}">文档搜索</a></li>
     <li><a href="{:U('Wckczuoye/Group')}">组别管理</a></li>
     <li><a href="{:U('Wckczuoye/myupload','id='.$vo['id'])}" >我的文档</a><li>
     <li class="active"><a href="{:U('Wckczuoye/edit')}">编辑资料</a></li>
    
   </ul>
	<!-- 标题栏 -->
       <h3 style="color:#5A81A8">&nbsp; &nbsp;&nbsp; &nbsp;<i class="icon icon-pencil"></i>&nbsp; &nbsp; 编辑资料</h3>
      
<div class="col-xs-9">
   <!-- 面板1start  -->
 <div class=" panel panel-info">
   <div class="panel-heading">
      <h3 class="panel-title">文档信息 【{$info.title}】 </h3>     
   </div>
   <div  id="post-info" class="collapse in">
       <div class="panel-body">
       <form method='post' id="infoform" name="infoform" action="" role="form" class="form-horizontal form-condensed">
         <div class="form-group">
          <label class="col-md-2 control-label">组  别：</label>
          <div class="col-md-6">
             <input name="group" id="group" value="{$info.group}" class="form-control" type="text">
          </div>
          <div class="col-md-4">（一般情况不要更改）</div>
        </div>
         <div class="form-group">
          <label class="col-md-2 control-label">标  题：</label>
          <div class="col-md-6">
             <input name="title" id="title" value="{$info.title}" class="form-control" type="text">
          </div>
          <div class="col-md-4">（资料的文件标题）</div>
        </div>
        <div class="form-group">
          <label class="col-md-2 control-label">学  期：</label>
          <div class="col-md-6">
             <input name="term" id="term" value="{$info.term}" class="form-control" type="text">
          </div>
          <div class="col-md-4"></div>
        </div>
         <div class="form-group">
          <label class="col-md-2 control-label">教  师：</label>
          <div class="col-md-6">
             <input name="teacher" id="teacher" value="{$info.teacher}" class="form-control" type="text">
          </div>
          <div class="col-md-4"></div>
        </div>  
          <div class="form-group">
          <label class="col-md-2 control-label">关 键 词：</label>
          <div class="col-md-6">
            <textarea name="keywords" id="keywords" rows="3" class="form-control">{$info.keywords}</textarea>
          </div> 
          <div class="col-md-4">（ 用于资料的检索）</div>
        </div>
        <div class="form-group">
          <label class="col-md-2 control-label">更新日期：</label>
          <div class="col-md-3 form-control-static">
            {$info.update_time|date="Y-m-d",###}
          </div>
          <label class="col-md-2 control-label">创建日期：</label>
          <div class="col-md-3 form-control-static">{$info.create_time|date="Y-m-d",###}</div>
        </div>  
    
  
          <input type="hidden" name="id" value="{$info.id}" />

       
          <div class="col-md-offset-2 col-md-2"> 
         <button type="submit" class="btn btn-success " id="submit-button"><span class="icon icon-edit"></span>  保存</button></div> 
            <div class="col-md-3"><a href="#" class="btn btn-danger" id="submit-button"><span class="icon icon-trash"></span>  删除</a></div>
          <div class="col-md-5 "><a href="{:U('Jtbk/Wckczuoye/download',array('fid'=>$info['id']))}" 
            class="btn btn-primary pull-right"><span class="icon icon-save"></span>  点击下载附件</a>
         </div> 
        </form>
        </div>
          <div class="panel-footer"><span class=" glyphicon glyphicon-hand-up">  </span>  请注意选择相应类别，并添加要上传的文件（上传前请按规定命名好文件名称）</div>
       </div>
    </div>
    <!-- 面板1end  -->
  </div>
  <div class="clearfix" > </div>

 </div> 
</block>

